package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/6 0006.
 */

public class SendVerifyResponseParams extends ResponseParams<SendVerifyResponseParams.SendVerifyResponseData> {


    public SendVerifyResponseParams() {

    }

    protected SendVerifyResponseParams(Parcel in) {
        super(in);
    }

    public static class SendVerifyResponseData implements Parcelable {
        private String phone;
        private String code;

        public SendVerifyResponseData() {
        }

        protected SendVerifyResponseData(Parcel in) {
            phone = in.readString();
            code = in.readString();
        }

        public static final Creator<SendVerifyResponseData> CREATOR = new Creator<SendVerifyResponseData>() {
            @Override
            public SendVerifyResponseData createFromParcel(Parcel in) {
                return new SendVerifyResponseData(in);
            }

            @Override
            public SendVerifyResponseData[] newArray(int size) {
                return new SendVerifyResponseData[size];
            }
        };

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(phone);
            dest.writeString(code);
        }
    }


}
